package com.learn.springboot.dao.response;

import java.util.List;

import lombok.Builder;
import lombok.Data;

/**
 * @author suzheng
 * @date 2020-06-17
 **/
@Builder
@Data
public class ExportDataWrapper<E> implements Comparable<Integer> {
    private int index;
    private List<E> list;
    @Override
    public int compareTo(Integer o) {
        return Integer.compare(this.index,o);
    }
}
